package expressions.slogo;

import java.util.List;
import parsing.Token;
import model.Turtle;

@Token(regex = "pendown|pd")
public class PenDown extends TurtleCommand
{

    public PenDown()
    {
        super(0);
    }

    @Override
    protected Double combineResults(List<Double> results, ITurtleContext context)
    {
        Turtle t = context.getTurtle();

        t.penDown();

        return BooleanConstant.TRUE_VALUE;
    }

}
